package com.zhou.springboot.dto;

import com.zhou.springboot.entity.Person;
import org.springframework.http.HttpStatus;

import java.util.List;

/**
 * author : zhoujb
 * created : 2020/7/12.
 * QQ : 1377072049
 */
public class PersonResponseInfo {
    private HttpStatus httpStatus;
    private String strMsg;
    private List<Person> personData;

    public List<Person> getPersonData() {
        return personData;
    }

    public void setPersonData(List<Person> personData) {
        this.personData = personData;
    }

    public HttpStatus getHttpStatus() {
        return httpStatus;
    }

    public void setHttpStatus(HttpStatus httpStatus) {
        this.httpStatus = httpStatus;
    }

    public String getStrMsg() {
        return strMsg;
    }

    public void setStrMsg(String strMsg) {
        this.strMsg = strMsg;
    }
    public PersonResponseInfo(){

    }
    public PersonResponseInfo(HttpStatus httpStatus, String strMsg) {
        this.httpStatus = httpStatus;
        this.strMsg = strMsg;
    }
    public PersonResponseInfo(HttpStatus httpStatus, String strMsg,List personData) {
        this(httpStatus,strMsg);
        this.personData = personData;
    }
}
